package Observer;

import java.util.ArrayList;
import java.util.List;

public class EditText extends Text {
    private List<String> text = new ArrayList<>();
    @Override
    public void editText(String word) {
        text.add(word);
    }
    @Override
    public List<String> getText() {
        return text;
    }
}
